package com.anolesoft.amljmes.fortyone.vo;

import cn.hutool.core.util.StrUtil;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class QualityProp {
	private Boolean isShow;
	private String prop;

	public static QualityProp create(Boolean isShow, String prop) {
		return QualityProp.builder().isShow(isShow).prop(StrUtil.nullToEmpty(prop)).build();
	}
	public static QualityProp create(Boolean isShow) {
		return QualityProp.builder().isShow(isShow).prop("").build();
	}
}
